package com.qmerak.entity;

/**
 * @author Shaohong•Cheng
 * @mail shaohong726@126.com
 * @date 2013-4-14
 * @project WebTest
 */
public class MemberEntity {

	private String unionId;
	private String memberCode;
	private String name;
	private String sexual;
	private String idNumber;
	private String workUnit;
	private String political;
	private String marital;
	private String nation;
	private String approveDate;
	private String educational;
	private String position;
	private String positional;
	private String duty;
	private String mobile;
	private String tel;
	private boolean needyStaff;
	private boolean specialStaff;
	private String specialType;
	private String joinworkDate;
	private String remark;
	private String loginName;
	private String roles;
	private String logoff;
	private String changeUnion;
	private String salvage;

	private String id;

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the unionId
	 */
	public String getUnionId() {
		return unionId;
	}

	/**
	 * @param unionId
	 *            the unionId to set
	 */
	public void setUnionId(String unionId) {
		this.unionId = unionId;
	}

	/**
	 * @return the memberCode
	 */
	public String getMemberCode() {
		return memberCode;
	}

	/**
	 * @param memberCode
	 *            the memberCode to set
	 */
	public void setMemberCode(String memberCode) {
		this.memberCode = memberCode;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the sexual
	 */
	public String getSexual() {
		return sexual;
	}

	/**
	 * @param sexual
	 *            the sexual to set
	 */
	public void setSexual(String sexual) {
		this.sexual = sexual;
	}

	/**
	 * @return the iDNumber
	 */
	public String getIdNumber() {
		return idNumber;
	}

	/**
	 * @param iDNumber
	 *            the iDNumber to set
	 */
	public void setIdNumber(String iDNumber) {
		idNumber = iDNumber;
	}

	/**
	 * @return the workUnit
	 */
	public String getWorkUnit() {
		return workUnit;
	}

	/**
	 * @param workUnit
	 *            the workUnit to set
	 */
	public void setWorkUnit(String workUnit) {
		this.workUnit = workUnit;
	}

	/**
	 * @return the political
	 */
	public String getPolitical() {
		return political;
	}

	/**
	 * @param political
	 *            the political to set
	 */
	public void setPolitical(String political) {
		this.political = political;
	}

	/**
	 * @return the marital
	 */
	public String getMarital() {
		return marital;
	}

	/**
	 * @param marital
	 *            the marital to set
	 */
	public void setMarital(String marital) {
		this.marital = marital;
	}

	/**
	 * @return the nation
	 */
	public String getNation() {
		return nation;
	}

	/**
	 * @param nation
	 *            the nation to set
	 */
	public void setNation(String nation) {
		this.nation = nation;
	}

	/**
	 * @return the approveDate
	 */
	public String getApproveDate() {
		return approveDate;
	}

	/**
	 * @param approveDate
	 *            the approveDate to set
	 */
	public void setApproveDate(String approveDate) {
		this.approveDate = approveDate;
	}

	/**
	 * @return the educational
	 */
	public String getEducational() {
		return educational;
	}

	/**
	 * @param educational
	 *            the educational to set
	 */
	public void setEducational(String educational) {
		this.educational = educational;
	}

	/**
	 * @return the position
	 */
	public String getPosition() {
		return position;
	}

	/**
	 * @param position
	 *            the position to set
	 */
	public void setPosition(String position) {
		this.position = position;
	}

	/**
	 * @return the positional
	 */
	public String getPositional() {
		return positional;
	}

	/**
	 * @param positional
	 *            the positional to set
	 */
	public void setPositional(String positional) {
		this.positional = positional;
	}

	/**
	 * @return the mobile
	 */
	public String getMobile() {
		return mobile;
	}

	/**
	 * @param mobile
	 *            the mobile to set
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	/**
	 * @return the tel
	 */
	public String getTel() {
		return tel;
	}

	/**
	 * @param tel
	 *            the tel to set
	 */
	public void setTel(String tel) {
		this.tel = tel;
	}

	/**
	 * @return the needyStaff
	 */
	public boolean isNeedyStaff() {
		return needyStaff;
	}

	/**
	 * @param needyStaff
	 *            the needyStaff to set
	 */
	public void setNeedyStaff(boolean needyStaff) {
		this.needyStaff = needyStaff;
	}

	/**
	 * @return the specialStaff
	 */
	public boolean isSpecialStaff() {
		return specialStaff;
	}

	/**
	 * @param specialStaff
	 *            the specialStaff to set
	 */
	public void setSpecialStaff(boolean specialStaff) {
		this.specialStaff = specialStaff;
	}

	/**
	 * @return the specialType
	 */
	public String getSpecialType() {
		return specialType;
	}

	/**
	 * @param specialType
	 *            the specialType to set
	 */
	public void setSpecialType(String specialType) {
		this.specialType = specialType;
	}

	/**
	 * @return the joinworkDate
	 */
	public String getJoinworkDate() {
		return joinworkDate;
	}

	/**
	 * @param joinworkDate
	 *            the joinworkDate to set
	 */
	public void setJoinworkDate(String joinworkDate) {
		this.joinworkDate = joinworkDate;
	}

	/**
	 * @return the remark
	 */
	public String getRemark() {
		return remark;
	}

	/**
	 * @param remark
	 *            the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * @return the roles
	 */
	public String getRoles() {
		return roles;
	}

	/**
	 * @param roles
	 *            the roles to set
	 */
	public void setRoles(String roles) {
		this.roles = roles;
	}

	/**
	 * @return the loginName
	 */
	public String getLoginName() {
		return loginName;
	}

	/**
	 * @param loginName
	 *            the loginName to set
	 */
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	/**
	 * @return the loginPWD
	 */
	public String getLoginPWD() {
		return loginPWD;
	}

	/**
	 * @param loginPWD
	 *            the loginPWD to set
	 */
	public void setLoginPWD(String loginPWD) {
		this.loginPWD = loginPWD;
	}

	private String loginPWD;
	private String birthday;

	/**
	 * @return the birthday
	 */
	public String getBirthday() {
		return birthday;
	}

	/**
	 * @param birthday
	 *            the birthday to set
	 */
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public enum Member_Status {
		NORMAL, LOGINING, LOGINED, LOGOFFING, LOGOFFED, UNIONCHANGING, UNIONCHANGED
	}

	/**
	 * status:4表示已经注销
	 */
	private Member_Status status = Member_Status.NORMAL;

	/**
	 * @return the status
	 */
	public String getStatus() {
		return status.name();
	}

	/**
	 * @param status
	 *            the status to set
	 */
	public void setStatus(String status) {
		if (null != status && !"".equals(status)) {
			this.status = Member_Status.valueOf(status);
		}
	}

	private String employMode;

	/**
	 * @return the employMode
	 */
	public String getEmployMode() {
		return employMode;
	}

	/**
	 * @param employMode
	 *            the employMode to set
	 */
	public void setEmployMode(String employMode) {
		this.employMode = employMode;
	}

	/**
	 * @return the duty
	 */
	public String getDuty() {
		return duty;
	}

	/**
	 * @param duty
	 *            the duty to set
	 */
	public void setDuty(String duty) {
		this.duty = duty;
	}

	/**
	 * @return the logoff
	 */
	public String getLogoff() {
		return logoff;
	}

	/**
	 * @param logoff
	 *            the logoff to set
	 */
	public void setLogoff(String logoff) {
		this.logoff = logoff;
	}

	/**
	 * @return the changeUnion
	 */
	public String getChangeUnion() {
		return changeUnion;
	}

	/**
	 * @param changeUnion
	 *            the changeUnion to set
	 */
	public void setChangeUnion(String changeUnion) {
		this.changeUnion = changeUnion;
	}

	/**
	 * @return the salvage
	 */
	public String getSalvage() {
		return salvage;
	}

	/**
	 * @param salvage
	 *            the salvage to set
	 */
	public void setSalvage(String salvage) {
		this.salvage = salvage;
	}

}
